// 博客详情页组件样式 - 重新设计版本
@use '../variables' as *;
.blog-detail {
    min-height: 100vh;
    background: white;
    position: relative;
}

// 主要内容区域样式
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px 40px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    position: relative;
    z-index: 1;
    @media(max-width: 1024px) {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

// 面包屑导航样式
.breadcrumb {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    .breadcrumb-item {
        color: #6c757d;
        text-decoration: none;
        transition: all 0.3s ease;
        font-weight: 500;
        &:hover {
            color: #4fc3f7;
            transform: translateY(-1px);
        }
    }
    .breadcrumb-separator {
        color: #dee2e6;
        font-weight: 300;
    }
    .breadcrumb-current {
        color: #495057;
        font-weight: 600;
    }
}

// 文章容器样式
.article-container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 6px;
        background: linear-gradient(90deg, #4fc3f7, #9c27b0, #e91e63, #ff9800);
    }
}

// 文章头部样式
.article-header {
    padding: 50px 40px 40px;
    background: linear-gradient(135deg, #4fc3f7 0%, #9c27b0 100%);
    color: white;
    position: relative;
    overflow: hidden;
    &::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
        animation: float 6s ease-in-out infinite;
    }
    .article-title {
        font-size: 2.2rem;
        font-weight: 700;
        margin-bottom: 25px;
        line-height: 1.2;
        position: relative;
        z-index: 1;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    .article-meta {
        display: flex;
        gap: 35px;
        margin-bottom: 25px;
        flex-wrap: wrap;
        position: relative;
        z-index: 1;
        .meta-item {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 15px;
            opacity: 0.95;
            padding: 8px 16px;
            background: rgba(255, 255, 255, 0.15);
            border-radius: 20px;
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
            &:hover {
                background: rgba(255, 255, 255, 0.25);
                transform: translateY(-2px);
            }
            .el-icon {
                font-size: 16px;
            }
        }
    }
    .article-tags {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        position: relative;
        z-index: 1;
        .tag {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            padding: 8px 18px;
            border-radius: 25px;
            font-size: 14px;
            font-weight: 500;
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            transition: all 0.3s ease;
            cursor: pointer;
            &:hover {
                background: rgba(255, 255, 255, 0.3);
                transform: translateY(-2px);
                box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            }
        }
    }
}

// 文章内容样式
.article-content {
    padding: 50px 40px;
    .content-text {
        font-size: 15px;
        line-height: 1.8;
        color: #2c3e50;
        h2 {
            font-size: 1.6rem;
            font-weight: 700;
            margin: 50px 0 25px;
            color: #2c3e50;
            position: relative;
            padding-left: 20px;
            &::before {
                content: '';
                position: absolute;
                left: 0;
                top: 50%;
                transform: translateY(-50%);
                width: 4px;
                height: 30px;
                background: linear-gradient(135deg, #4fc3f7, #9c27b0);
                border-radius: 2px;
            }
        }
        h3 {
            font-size: 1.3rem;
            font-weight: 600;
            margin: 35px 0 20px;
            color: #34495e;
            position: relative;
            padding-left: 15px;
            &::before {
                content: '';
                position: absolute;
                left: 0;
                top: 50%;
                transform: translateY(-50%);
                width: 3px;
                height: 20px;
                background: #4fc3f7;
                border-radius: 2px;
            }
        }
        p {
            margin-bottom: 25px;
            color: #4a5568;
        }
        ul {
            margin: 25px 0;
            padding-left: 25px;
            li {
                margin-bottom: 12px;
                color: #4a5568;
                position: relative;
                &::before {
                    content: '•';
                    color: #4fc3f7;
                    font-weight: bold;
                    position: absolute;
                    left: -20px;
                }
            }
        }
        code {
            background: #f8f9fa;
            padding: 2px 6px;
            border-radius: 4px;
            font-family: 'Fira Code', monospace;
            color: #e91e63;
        }
        pre {
            background: #2d3748;
            color: #e2e8f0;
            padding: 20px;
            border-radius: 12px;
            overflow-x: auto;
            margin: 25px 0;
            code {
                background: none;
                color: inherit;
                padding: 0;
            }
        }
    }
}

// 文章操作按钮样式
.article-actions {
    padding: 0 40px 40px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    .action-btn {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 28px;
        border: none;
        border-radius: 30px;
        font-weight: 600;
        font-size: 15px;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        &::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }
        &:hover::before {
            left: 100%;
        }
        &:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
        }
        &.like-btn {
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            color: #6c757d;
            border: 2px solid #dee2e6;
            position: relative;
            overflow: hidden;
            
            // 未点赞状态的图标
            .el-icon {
                transition: all 0.3s ease;
                color: #6c757d;
            }
            
            // 点赞状态样式
            &.liked {
                background: linear-gradient(135deg, #ff4757, #ff3742);
                color: white;
                border-color: #ff4757;
                box-shadow: 0 8px 25px rgba(255, 71, 87, 0.3);
                transform: scale(1.05);
                
                // 点赞状态的图标
                .el-icon {
                    color: white;
                    animation: heartBeat 0.6s ease-in-out;
                }
                
                // 添加心跳动画
                &::after {
                    content: '';
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    width: 0;
                    height: 0;
                    background: rgba(255, 255, 255, 0.3);
                    border-radius: 50%;
                    transform: translate(-50%, -50%);
                    animation: ripple 0.6s ease-out;
                }
            }
            
            // 悬停效果
            &:hover {
                transform: translateY(-2px);
                box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
                
                &.liked {
                    box-shadow: 0 12px 30px rgba(255, 71, 87, 0.4);
                }
            }
        }
        &.share-btn {
            background: linear-gradient(135deg, #4fc3f7, #29b6f6);
            color: white;
        }
    }
}

// 分享容器样式
.share-container {
    position: relative;
    display: inline-block;
    
    // 分享菜单样式
    .share-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 10px;
        background: white;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        padding: 15px;
        min-width: 200px;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        
        &::before {
            content: '';
            position: absolute;
            top: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-bottom: 8px solid white;
        }
        
        .share-options {
            display: flex;
            flex-direction: column;
            gap: 8px;
            
            .share-option {
                display: flex;
                align-items: center;
                gap: 12px;
                padding: 12px 16px;
                border: none;
                background: transparent;
                border-radius: 8px;
                cursor: pointer;
                transition: all 0.3s ease;
                color: #2c3e50;
                font-size: 14px;
                font-weight: 500;
                
                &:hover {
                    background: #f8f9fa;
                    transform: translateX(5px);
                }
                
                .share-icon {
                    width: 32px;
                    height: 32px;
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 16px;
                    color: white;
                }
                
                &.qq-share {
                    .share-icon {
                        background: linear-gradient(135deg, #12b7f5, #0ea5e9);
                    }
                    
                    &:hover {
                        .share-icon {
                            transform: scale(1.1);
                        }
                    }
                }
                
                &.wechat-share {
                    .share-icon {
                        background: linear-gradient(135deg, #07c160, #06ad56);
                    }
                    
                    &:hover {
                        .share-icon {
                            transform: scale(1.1);
                        }
                    }
                }
                
                &.copy-link {
                    .share-icon {
                        background: linear-gradient(135deg, #6366f1, #4f46e5);
                    }
                    
                    &:hover {
                        .share-icon {
                            transform: scale(1.1);
                        }
                    }
                }
            }
        }
    }
    
    // 展开状态
    &.share-expanded {
        .share-menu {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }
    }
}

// 相关文章样式
.related-articles {
    margin: 0 40px 40px;
    .section-title {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 25px;
        color: #2c3e50;
        position: relative;
        padding-left: 20px;
        &::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 30px;
            background: linear-gradient(135deg, #4fc3f7, #9c27b0);
            border-radius: 2px;
        }
    }
    .related-list {
        display: grid;
        gap: 20px;
        .related-item {
            display: flex;
            gap: 20px;
            padding: 25px;
            background: #f8f9fa;
            border-radius: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 1px solid #e9ecef;
            position: relative;
            overflow: hidden;
            &::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                width: 4px;
                height: 100%;
                background: linear-gradient(135deg, #4fc3f7, #9c27b0);
                transform: scaleY(0);
                transition: transform 0.3s ease;
            }
            &:hover {
                transform: translateY(-5px);
                box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
                background: white;
                &::before {
                    transform: scaleY(1);
                }
            }
            .related-image {
                width: 100px;
                height: 75px;
                border-radius: 12px;
                overflow: hidden;
                flex-shrink: 0;
                box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    transition: transform 0.3s ease;
                }
            }
            .related-info {
                flex: 1;
                .related-title {
                    font-size: 1.1rem;
                    font-weight: 600;
                    margin-bottom: 10px;
                    color: #2c3e50;
                    line-height: 1.4;
                }
                .related-excerpt {
                    color: #6c757d;
                    font-size: 14px;
                    margin-bottom: 12px;
                    line-height: 1.6;
                }
                .related-meta {
                    display: flex;
                    gap: 20px;
                    font-size: 13px;
                    color: #adb5bd;
                    font-weight: 500;
                }
            }
            &:hover .related-image img {
                transform: scale(1.1);
            }
        }
    }
}

// 评论区样式
.comments-section {
    margin: 0 40px 40px;
    .section-title {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 35px;
        color: #2c3e50;
        position: relative;
        padding-left: 20px;
        &::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 30px;
            background: linear-gradient(135deg, #4fc3f7, #9c27b0);
            border-radius: 2px;
        }
    }
    // 登录提示样式
    .login-prompt {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-radius: 20px;
        padding: 40px;
        margin-bottom: 35px;
        border: 1px solid #e9ecef;
        position: relative;
        overflow: hidden;
        &::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #4fc3f7, #9c27b0);
        }
        .login-prompt-content {
            display: flex;
            align-items: center;
            gap: 25px;
            .login-icon {
                width: 80px;
                height: 80px;
                background: linear-gradient(135deg, #4fc3f7, #9c27b0);
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                flex-shrink: 0;
                .el-icon {
                    font-size: 40px;
                    color: white;
                }
            }
            .login-info {
                flex: 1;
                h4 {
                    margin: 0 0 10px;
                    color: #2c3e50;
                    font-weight: 700;
                    font-size: 1.3rem;
                }
                p {
                    margin: 0;
                    color: #6c757d;
                    font-size: 16px;
                    line-height: 1.6;
                }
            }
            .login-actions {
                display: flex;
                flex-direction: column;
                gap: 15px;
                align-items: flex-end;
                .login-btn {
                    display: flex;
                    align-items: center;
                    gap: 10px;
                    padding: 12px 24px;
                    border: none;
                    border-radius: 25px;
                    font-weight: 600;
                    font-size: 15px;
                    cursor: pointer;
                    transition: all 0.3s ease;
                    position: relative;
                    overflow: hidden;
                    &.primary {
                        background: linear-gradient(135deg, #4fc3f7 0%, #9c27b0 100%);
                        color: white;
                        &::before {
                            content: '';
                            position: absolute;
                            top: 0;
                            left: -100%;
                            width: 100%;
                            height: 100%;
                            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
                            transition: left 0.5s;
                        }
                        &:hover::before {
                            left: 100%;
                        }
                        &:hover {
                            transform: translateY(-2px);
                            box-shadow: 0 8px 25px rgba(79, 195, 247, 0.3);
                        }
                    }
                }
            }
        }
    }
    .comment-form {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-radius: 20px;
        padding: 30px;
        margin-bottom: 35px;
        border: 1px solid #e9ecef;
        position: relative;
        overflow: hidden;
        &::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #4fc3f7, #9c27b0);
        }
        .form-header {
            display: flex;
            align-items: center;
            gap: 18px;
            margin-bottom: 25px;
            .user-avatar {
                width: 60px;
                height: 60px;
                border-radius: 50%;
                border: 3px solid white;
                box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
                overflow: hidden;
                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }
            .form-info {
                h4 {
                    margin: 0 0 8px;
                    color: #2c3e50;
                    font-weight: 700;
                    font-size: 1.2rem;
                }
                p {
                    margin: 0;
                    color: #6c757d;
                    font-size: 15px;
                }
            }
        }
        .form-content {
            .comment-textarea {
                margin-bottom: 20px;
                 :deep(.el-textarea__inner) {
                    border-radius: 15px;
                    border: 2px solid #e9ecef;
                    resize: vertical;
                    font-size: 15px;
                    padding: 15px;
                    transition: all 0.3s ease;
                    &:focus {
                        border-color: #4fc3f7;
                        box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.1);
                    }
                }
            }
            .form-actions {
                display: flex;
                justify-content: flex-end;
                .submit-btn {
                    background: linear-gradient(135deg, #4fc3f7 0%, #9c27b0 100%);
                    color: white;
                    border: none;
                    padding: 14px 32px;
                    border-radius: 30px;
                    font-weight: 600;
                    font-size: 15px;
                    cursor: pointer;
                    transition: all 0.3s ease;
                    position: relative;
                    overflow: hidden;
                    &::before {
                        content: '';
                        position: absolute;
                        top: 0;
                        left: -100%;
                        width: 100%;
                        height: 100%;
                        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
                        transition: left 0.5s;
                    }
                    &:hover::before {
                        left: 100%;
                    }
                    &:hover {
                        transform: translateY(-3px);
                        box-shadow: 0 12px 35px rgba(79, 195, 247, 0.3);
                    }
                }
            }
        }
    }
    .comments-list {
        .comment-item {
            display: flex;
            gap: 18px;
            padding: 25px 0;
            border-bottom: 1px solid #e9ecef;
            transition: all 0.3s ease;
            &:last-child {
                border-bottom: none;
            }
            &:hover {
                background: rgba(79, 195, 247, 0.02);
                border-radius: 12px;
                padding: 25px 15px;
                margin: 0 -15px;
            }
            .comment-avatar {
                img {
                    width: 50px;
                    height: 50px;
                    border-radius: 50%;
                    border: 3px solid white;
                    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
                    object-fit: cover;
                }
            }
            .comment-content {
                flex: 1;
                .comment-header {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    margin-bottom: 12px;
                    .comment-author {
                        font-weight: 600;
                        color: #2c3e50;
                        font-size: 16px;
                    }
                    .comment-date {
                        font-size: 13px;
                        color: #adb5bd;
                        font-weight: 500;
                    }
                }
                .comment-text {
                    color: #4a5568;
                    line-height: 1.7;
                    margin-bottom: 18px;
                    font-size: 15px;
                }
                .comment-actions {
                    display: flex;
                    gap: 25px;
                    .comment-action {
                        display: flex;
                        align-items: center;
                        gap: 8px;
                        background: none;
                        border: none;
                        color: #6c757d;
                        font-size: 14px;
                        font-weight: 500;
                        cursor: pointer;
                        transition: all 0.3s ease;
                        padding: 8px 12px;
                        border-radius: 20px;
                        &:hover {
                            color: #4fc3f7;
                            background: rgba(79, 195, 247, 0.1);
                            transform: translateY(-1px);
                        }
                    }
                }
            }
        }
    }
}

// 侧边栏样式
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
    @media(max-width: 1024px) {
        order: -1;
    }
}

// 侧边栏卡片通用样式
.toc-card,
.info-card,
.tags-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #4fc3f7, #9c27b0);
    }
    .card-title {
        font-size: 1.2rem;
        font-weight: 700;
        margin-bottom: 25px;
        color: #2c3e50;
        position: relative;
        padding-left: 15px;
        &::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            height: 25px;
            background: linear-gradient(135deg, #4fc3f7, #9c27b0);
            border-radius: 2px;
        }
    }
}

// 目录导航样式
.toc-nav {
    .toc-item {
        display: block;
        padding: 12px 18px;
        color: #6c757d;
        text-decoration: none;
        border-radius: 12px;
        margin-bottom: 10px;
        transition: all 0.3s ease;
        font-size: 14px;
        font-weight: 500;
        position: relative;
        overflow: hidden;
        &::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 3px;
            height: 100%;
            background: linear-gradient(135deg, #4fc3f7, #9c27b0);
            transform: scaleY(0);
            transition: transform 0.3s ease;
        }
        &:hover {
            background: rgba(79, 195, 247, 0.08);
            color: #4fc3f7;
            transform: translateX(5px);
            &::before {
                transform: scaleY(1);
            }
        }
        &.active {
            background: linear-gradient(135deg, #4fc3f7 0%, #9c27b0 100%);
            color: white;
            font-weight: 600;
            box-shadow: 0 8px 25px rgba(79, 195, 247, 0.3);
            &::before {
                display: none;
            }
        }
    }
}

// 文章信息样式
.info-list {
    .info-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
        border-bottom: 1px solid #f1f3f4;
        transition: all 0.3s ease;
        &:last-child {
            border-bottom: none;
        }
        &:hover {
            background: rgba(79, 195, 247, 0.02);
            border-radius: 8px;
            padding: 15px 10px;
            margin: 0 -10px;
        }
        .info-label {
            color: #6c757d;
            font-size: 14px;
            font-weight: 500;
        }
        .info-value {
            color: #2c3e50;
            font-weight: 600;
            font-size: 15px;
        }
    }
}

// 标签样式 - 重新设计
.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    .tag-item {
        padding: 10px 18px;
        border-radius: 25px;
        color: white;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        &::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }
        &:hover::before {
            left: 100%;
        }
        &:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }
        // 为不同标签设置不同的渐变背景
        &:nth-child(1) {
            background: linear-gradient(135deg, #4fc3f7, #29b6f6);
        }
        &:nth-child(2) {
            background: linear-gradient(135deg, #9c27b0, #e91e63);
        }
        &:nth-child(3) {
            background: linear-gradient(135deg, #00bcd4, #009688);
        }
        &:nth-child(4) {
            background: linear-gradient(135deg, #4caf50, #8bc34a);
        }
        &:nth-child(5) {
            background: linear-gradient(135deg, #ff9800, #ff5722);
        }
        &:nth-child(6) {
            background: linear-gradient(135deg, #795548, #607d8b);
        }
    }
}

// 动画效果
@keyframes float {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.3);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.3);
    }
    70% {
        transform: scale(1);
    }
}

@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

// 响应式设计
@media(max-width: 768px) {
    .main-content {
        padding: 60px 15px 20px;
    }
    .breadcrumb {
        padding: 15px 20px;
        margin-bottom: 30px;
    }
    .article-header {
        padding: 40px 25px 30px;
        .article-title {
            font-size: 1.8rem;
        }
        .article-meta {
            gap: 20px;
            .meta-item {
                font-size: 14px;
                padding: 6px 12px;
            }
        }
    }
    .article-content {
        padding: 40px 25px;
        .content-text {
            font-size: 14px;
            h2 {
                font-size: 1.4rem;
            }
            h3 {
                font-size: 1.2rem;
            }
        }
    }
    .article-actions {
        padding: 0 25px 30px;
        flex-wrap: wrap;
        gap: 12px;
        .action-btn {
            padding: 12px 20px;
            font-size: 14px;
        }
    }
    .related-articles,
    .comments-section {
        margin: 0 25px 30px;
        .section-title {
            font-size: 1.3rem;
        }
    }
    .related-list {
        .related-item {
            flex-direction: column;
            padding: 20px;
            .related-image {
                width: 100%;
                height: 120px;
            }
        }
    }
    .comment-form {
        padding: 25px;
        .form-header {
            flex-direction: column;
            text-align: center;
            gap: 15px;
        }
    }
    .login-prompt {
        padding: 25px;
        .login-prompt-content {
            flex-direction: column;
            text-align: center;
            gap: 20px;
            .login-actions {
                align-items: center;
                .social-login {
                    justify-content: center;
                }
            }
        }
    }
    .sidebar {
        .toc-card,
        .info-card,
        .tags-card {
            padding: 25px;
        }
    }
}